package allertest;

import java.awt.image.BufferedImage;
import javax.swing.SwingWorker;


class RunTestWorker extends SwingWorker<Object, Object> {

    private BufferedImage img;
    private AllerTestView v;
    
    public RunTestWorker(AllerTestView v, BufferedImage img) {
        this.img = img;
        this.v = v;
    }

    @Override
    protected Object doInBackground() throws Exception {
        v.test(img);
        return null;
    }

}
